how to print Number pyramid pattern using java programming